#include "Configuration.hpp"
#include <iostream>
using std::endl;
using std::cout;


int main()
{
    wd::Configuration* config = wd::Configuration::getInstance("./server.conf");
    map<string,string> &config_map = config->getConfigMap();
    cout <<"ip:\t" <<config_map["ip"] << endl;
    cout <<"port:\t" <<config_map["port"] << endl;
    cout << "thread_num:\t"<< config_map["thread_num"]<< endl;
    cout << "task_num:\t"<<config_map["task_num"] << endl;
    cout << "video_path:\t"<<config_map["video_path"] << endl;

    return 0;
}
